export function filterAsyncRouter (asyncRouterMap, menuList) {
  const routes = asyncRouterMap.filter(item => {
    return menuList.some(menuItem => menuItem.pathName === item.name)
  })
  return routes
}
